﻿using System;
using System.Collections.Generic;
using System.Linq;
using InvestmentIntelligence.DbModel.Models;

namespace InvestmentIntelligence.Data.Repository
{
    public interface IAnalyticsIdeaRepository
    {
        List<T> GetList<T>(Func<IQueryable<AnalyticsIdea>, IEnumerable<T>> f);
        List<T> GetSlowList<T>(Func<IQueryable<AnalyticsIdea>, IEnumerable<T>> f);
        //List<IdeaToTrade> GetIdeaToTradeList(Func<IQueryable<AnalyticsIdea>, IQueryable<AnalyticsIdea>> filter);
        //List<AnalyticsIdeaToSecurity> GetIdeaToSecurityList(Func<IQueryable<AnalyticsIdea>, IQueryable<AnalyticsIdea>> filter);

        T Get<T>(Func<IQueryable<AnalyticsIdea>, T> f);

      //  AnalyticsIdea Get(Guid id);

        List<CompassTradeToInvestment> GetInvestmentTradesByFundBook(int fundBookId);
        
    }
}
